﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeFile="SEC03_3A.aspx.cs" Inherits="IFRS_SEC03_3A" %>

<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        window.SetValueADUser = function (Value1, Value2, Value3, Value4, Value5) {
            document.getElementById("<%= txtEmployee_ID.ClientID %>").value = Value1;
            document.getElementById("<%= txtEmployee_Name.ClientID %>").value = Value2;
            document.getElementById("<%= hidCostCenter.ClientID %>").value = Value3;
            document.getElementById("<%= hidEmployee_Name.ClientID %>").value = Value4;
            document.getElementById("<%= txtCostCenter.ClientID %>").value = Value5;
        }

        window.SetValueRoleGroup = function (Value1, Value2) {
            document.getElementById("<%= hidGroup_ID.ClientID %>").value = Value1;
            document.getElementById("<%= txtGroup.ClientID %>").value = Value2;
        }


    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <fieldset class="fsStandard" style="padding-bottom: 5px;">
                <div class="table_detail">
                    <div class="rowinfo">
                        <div class="collabel_single">
                            <asp:Label ID="lblEmployee_ID" runat="server" Text="<%$Resources:ifrsField,Employee_ID%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <cc1:textboxautocomplete ID="txtEmployee_ID" SkinID="TextBoxWithNoColor" runat="server"></cc1:textboxautocomplete>
                            <asp:Button ID="btnEmployee" runat="server" Text="..." CausesValidation="False" />
                            <span class="red">*</span>
                            <asp:RequiredFieldValidator ID="reqEmployee_ID" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblEmployee_Name" runat="server" Text="<%$Resources:ifrsField,Employee_Name%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:TextBox ID="txtEmployee_Name" SkinID="L_ReadOnlyBox" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblCostCenter" runat="server" Text="<%$Resources:ifrsField,CostCenter%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:TextBox ID="txtCostCenter" SkinID="L_ReadOnlyBox" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblGroup" runat="server" Text="<%$Resources:ifrsField,Group%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <cc1:textboxautocomplete ID="txtGroup" SkinID="TextBoxWithNoColor" runat="server"></cc1:textboxautocomplete>
                            <asp:Button ID="btnGroup" runat="server" Text="..." CausesValidation="False" />
                            <span class="red">*</span>
                            <asp:RequiredFieldValidator ID="reqGroup" runat="server"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblSTATUS" runat="server" Text="<%$Resources:ifrsField,STATUS%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:RadioButton ID="rbSTATUS_1" Text="<%$Resources:ifrsField,WORK%>" runat="server"  Checked="true"
                                GroupName="status" />
                            <asp:RadioButton ID="rbSTATUS_2" Text="<%$Resources:ifrsField,NOT_WORK%>" runat="server"
                                GroupName="status" />
                        </div>
                    </div>
                </div>
                <div class="colbtn">
                    <div>
                        <div>
                         <asp:Button ID="btnSAVE_NEW" SkinID="NormalButton" runat="server"  
                                Text="<%$Resources:ifrsButton,SAVE_NEW%>" onclick="btnSAVE_NEW_Click" />&nbsp;
                            <asp:Button ID="btnSAVE" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,SAVE%>"
                                OnClick="btnSAVE_Click" />&nbsp;
                                <asp:Button ID="btnCLEAR" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CLEAR%>" OnClick="btnCLEAR_Click" />&nbsp;
                            <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" CausesValidation="false"
                                Text="<%$Resources:ifrsButton,CANCEL%>" OnClick="btnCANCEL_Click" />
                            &nbsp;
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
    </div>
    <asp:HiddenField ID="hidCostCenter" runat="server" />
    <asp:HiddenField ID="hidEmployee_Name" runat="server" />
    <asp:HiddenField ID="hidGroup_ID" runat="server" />
</asp:Content>
